<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>OrbbecSDK: header_cn/libobsensor/h/Frame.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="orbbec_icon.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OrbbecSDK
   &#160;<span id="projectnumber">1.8.3</span>
   </div>
   <div id="projectbrief">OrbbecSDK: 奥比中光 3D 相机开发套件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_9a5345e98321307492e41331ab8e5636.html">header_cn</a></li><li class="navelem"><a class="el" href="dir_a57403e30bad3723557b0550251f8216.html">libobsensor</a></li><li class="navelem"><a class="el" href="dir_afa7ddcbc480a7aa37c5239e71e2d522.html">h</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">Frame.h 文件参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>帧相关函数, 主要用于获取帧数据和帧信息  
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="ObTypes_8h_source.html">ObTypes.h</a>&quot;</code><br />
</div>
<p><a href="Frame_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a5009d0e21fffddc2bb891357ccd611f7"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a5009d0e21fffddc2bb891357ccd611f7">ob_frame_index</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a5009d0e21fffddc2bb891357ccd611f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取帧索引  <a href="#a5009d0e21fffddc2bb891357ccd611f7">更多...</a><br /></td></tr>
<tr class="separator:a5009d0e21fffddc2bb891357ccd611f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac46511e8d0e4d5b962d2b9710d313bdc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#a2dd00351b3c3e24fba7b2e9d1bb033a8">ob_format</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#ac46511e8d0e4d5b962d2b9710d313bdc">ob_frame_format</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:ac46511e8d0e4d5b962d2b9710d313bdc"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取帧格式  <a href="#ac46511e8d0e4d5b962d2b9710d313bdc">更多...</a><br /></td></tr>
<tr class="separator:ac46511e8d0e4d5b962d2b9710d313bdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfa38aa0cc594622f1d00540cf108b5a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#ad2256fb566c96c9a50ab5120012a1ed1">ob_frame_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#adfa38aa0cc594622f1d00540cf108b5a">ob_frame_get_type</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:adfa38aa0cc594622f1d00540cf108b5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取帧类型  <a href="#adfa38aa0cc594622f1d00540cf108b5a">更多...</a><br /></td></tr>
<tr class="separator:adfa38aa0cc594622f1d00540cf108b5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95b2242495cad6f1d1d7db82cc516a2e"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a95b2242495cad6f1d1d7db82cc516a2e">ob_frame_time_stamp</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a95b2242495cad6f1d1d7db82cc516a2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取帧的硬件时间戳（以毫秒为单位）。  <a href="#a95b2242495cad6f1d1d7db82cc516a2e">更多...</a><br /></td></tr>
<tr class="separator:a95b2242495cad6f1d1d7db82cc516a2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacf461e938d508f05b7b1ba8324cfcf5"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#aacf461e938d508f05b7b1ba8324cfcf5">ob_frame_time_stamp_us</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:aacf461e938d508f05b7b1ba8324cfcf5"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取帧的硬件时间戳（以微秒为单位）。  <a href="#aacf461e938d508f05b7b1ba8324cfcf5">更多...</a><br /></td></tr>
<tr class="separator:aacf461e938d508f05b7b1ba8324cfcf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adce8d3f7031629a3e3d7b25911b33886"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#adce8d3f7031629a3e3d7b25911b33886">ob_frame_system_time_stamp</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:adce8d3f7031629a3e3d7b25911b33886"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取帧的系统时间戳（以毫秒为单位）。  <a href="#adce8d3f7031629a3e3d7b25911b33886">更多...</a><br /></td></tr>
<tr class="separator:adce8d3f7031629a3e3d7b25911b33886"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada0d3dca9c8d020451e8a1bb11dacf57"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#ada0d3dca9c8d020451e8a1bb11dacf57">ob_frame_data</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:ada0d3dca9c8d020451e8a1bb11dacf57"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取帧数据  <a href="#ada0d3dca9c8d020451e8a1bb11dacf57">更多...</a><br /></td></tr>
<tr class="separator:ada0d3dca9c8d020451e8a1bb11dacf57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9350186e6d286d74466d07287871ce9"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#ab9350186e6d286d74466d07287871ce9">ob_frame_data_size</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:ab9350186e6d286d74466d07287871ce9"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取帧数据大小  <a href="#ab9350186e6d286d74466d07287871ce9">更多...</a><br /></td></tr>
<tr class="separator:ab9350186e6d286d74466d07287871ce9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0105450d37ecd43b0e27c90e396231eb"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a0105450d37ecd43b0e27c90e396231eb">ob_video_frame_width</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a0105450d37ecd43b0e27c90e396231eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取视频帧宽  <a href="#a0105450d37ecd43b0e27c90e396231eb">更多...</a><br /></td></tr>
<tr class="separator:a0105450d37ecd43b0e27c90e396231eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c31d615158ad377dab30a5886788a11"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a4c31d615158ad377dab30a5886788a11">ob_video_frame_height</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a4c31d615158ad377dab30a5886788a11"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取视频帧高  <a href="#a4c31d615158ad377dab30a5886788a11">更多...</a><br /></td></tr>
<tr class="separator:a4c31d615158ad377dab30a5886788a11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6c4784af761b12ad13367594af78b58"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#ad6c4784af761b12ad13367594af78b58">ob_video_frame_metadata</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:ad6c4784af761b12ad13367594af78b58"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取帧的元数据  <a href="#ad6c4784af761b12ad13367594af78b58">更多...</a><br /></td></tr>
<tr class="separator:ad6c4784af761b12ad13367594af78b58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9096648e25cfa045fb0ab6b3b3c93c0"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#ac9096648e25cfa045fb0ab6b3b3c93c0">ob_video_frame_metadata_size</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:ac9096648e25cfa045fb0ab6b3b3c93c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取帧的元数据大小  <a href="#ac9096648e25cfa045fb0ab6b3b3c93c0">更多...</a><br /></td></tr>
<tr class="separator:ac9096648e25cfa045fb0ab6b3b3c93c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a7f7edea6d5963c2bbd2360edc3a489"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a4a7f7edea6d5963c2bbd2360edc3a489">ob_video_frame_pixel_available_bit_size</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a4a7f7edea6d5963c2bbd2360edc3a489"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取像素有效位数（如 Y16 格式帧，每个像素占 16bit，但实际只有低 10 位是有效位，高 6 位填充 0）  <a href="#a4a7f7edea6d5963c2bbd2360edc3a489">更多...</a><br /></td></tr>
<tr class="separator:a4a7f7edea6d5963c2bbd2360edc3a489"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac69985299cbe7ca46cdddab955d26a33"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#a01cba50d4d558e4c2035f09b698bb10b">ob_sensor_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#ac69985299cbe7ca46cdddab955d26a33">ob_ir_frame_get_source_sensor_type</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **<a class="el" href="structob__error.html">ob_error</a>)</td></tr>
<tr class="memdesc:ac69985299cbe7ca46cdddab955d26a33"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取红外数据帧的源传感器类型（双摄像头为左或右）  <a href="#ac69985299cbe7ca46cdddab955d26a33">更多...</a><br /></td></tr>
<tr class="separator:ac69985299cbe7ca46cdddab955d26a33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84d908c9407ef8f96086c6d0911122e0"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a84d908c9407ef8f96086c6d0911122e0">ob_depth_frame_get_value_scale</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a84d908c9407ef8f96086c6d0911122e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取深度帧的值的深度单位，深度像素值乘以深度单位后，可以得到单位为毫米的深度值； 如 valueScale=0.1, 某坐标像素值为 pixelValue=10000， 则表示深度值 value = pixelValue*valueScale = 10000*0.1=1000mm。  <a href="#a84d908c9407ef8f96086c6d0911122e0">更多...</a><br /></td></tr>
<tr class="separator:a84d908c9407ef8f96086c6d0911122e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42e33dafc2a310292a84bc4e59b624b3"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a42e33dafc2a310292a84bc4e59b624b3">ob_points_frame_get_position_value_scale</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a42e33dafc2a310292a84bc4e59b624b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取点云帧的点坐标值缩放系数，点坐标值乘以缩放系数后，可以得到单位为毫米的坐标值； 如 scale=0.1, 某个点的 x 坐标值为 x=10000， 则表示实际 x 坐标 value = x*scale = 10000*0.1=1000mm。  <a href="#a42e33dafc2a310292a84bc4e59b624b3">更多...</a><br /></td></tr>
<tr class="separator:a42e33dafc2a310292a84bc4e59b624b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a572bd900dfe085bd8618e53b2670f069"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a572bd900dfe085bd8618e53b2670f069">ob_delete_frame</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a572bd900dfe085bd8618e53b2670f069"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除数据帧对象  <a href="#a572bd900dfe085bd8618e53b2670f069">更多...</a><br /></td></tr>
<tr class="separator:a572bd900dfe085bd8618e53b2670f069"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48ab6c2f559f3af05f4147a5f2abb324"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a48ab6c2f559f3af05f4147a5f2abb324">ob_frameset_frame_count</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frameset, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a48ab6c2f559f3af05f4147a5f2abb324"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取数据帧集中包含的帧数  <a href="#a48ab6c2f559f3af05f4147a5f2abb324">更多...</a><br /></td></tr>
<tr class="separator:a48ab6c2f559f3af05f4147a5f2abb324"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fd791167ae8728c8796746cddfb98f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a5fd791167ae8728c8796746cddfb98f9">ob_frameset_depth_frame</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frameset, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a5fd791167ae8728c8796746cddfb98f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">从数据帧集中获取深度数据帧。  <a href="#a5fd791167ae8728c8796746cddfb98f9">更多...</a><br /></td></tr>
<tr class="separator:a5fd791167ae8728c8796746cddfb98f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea3b7d87129161528aeecf9cb06c0321"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#aea3b7d87129161528aeecf9cb06c0321">ob_frameset_color_frame</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frameset, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:aea3b7d87129161528aeecf9cb06c0321"><td class="mdescLeft">&#160;</td><td class="mdescRight">从帧集合中获取彩色帧  <a href="#aea3b7d87129161528aeecf9cb06c0321">更多...</a><br /></td></tr>
<tr class="separator:aea3b7d87129161528aeecf9cb06c0321"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e1afbac80830e8f9497e6fda23d5ca1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a6e1afbac80830e8f9497e6fda23d5ca1">ob_frameset_ir_frame</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frameset, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a6e1afbac80830e8f9497e6fda23d5ca1"><td class="mdescLeft">&#160;</td><td class="mdescRight">从数据帧中获取红外帧。  <a href="#a6e1afbac80830e8f9497e6fda23d5ca1">更多...</a><br /></td></tr>
<tr class="separator:a6e1afbac80830e8f9497e6fda23d5ca1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaee352704126aa113327a3105f5ed3af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#aaee352704126aa113327a3105f5ed3af">ob_frameset_points_frame</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frameset, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:aaee352704126aa113327a3105f5ed3af"><td class="mdescLeft">&#160;</td><td class="mdescRight">从数据帧集中获取点云数据。  <a href="#aaee352704126aa113327a3105f5ed3af">更多...</a><br /></td></tr>
<tr class="separator:aaee352704126aa113327a3105f5ed3af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30f3200115ea77315b7bb8ace3087207"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a30f3200115ea77315b7bb8ace3087207">ob_frameset_get_frame</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frameset, <a class="el" href="ObTypes_8h.html#ad2256fb566c96c9a50ab5120012a1ed1">ob_frame_type</a> frame_type, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a30f3200115ea77315b7bb8ace3087207"><td class="mdescLeft">&#160;</td><td class="mdescRight">从数据帧集中获取特定类型的数据帧。  <a href="#a30f3200115ea77315b7bb8ace3087207">更多...</a><br /></td></tr>
<tr class="separator:a30f3200115ea77315b7bb8ace3087207"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abebc05a57d9906ff7b05e5e3edbe0537"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#a73b09a6818b6e37a12ce17732e2e01c0">ob_accel_value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#abebc05a57d9906ff7b05e5e3edbe0537">ob_accel_frame_value</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:abebc05a57d9906ff7b05e5e3edbe0537"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取加速度计帧数据。  <a href="#abebc05a57d9906ff7b05e5e3edbe0537">更多...</a><br /></td></tr>
<tr class="separator:abebc05a57d9906ff7b05e5e3edbe0537"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaed95a72b4e138b7f25f1abc90f762c4"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#aaed95a72b4e138b7f25f1abc90f762c4">ob_accel_frame_temperature</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:aaed95a72b4e138b7f25f1abc90f762c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取加速度帧采样时温度  <a href="#aaed95a72b4e138b7f25f1abc90f762c4">更多...</a><br /></td></tr>
<tr class="separator:aaed95a72b4e138b7f25f1abc90f762c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a491583ded6975af8cb3948a6ec372529"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#a3ad05ef746762121034a508f185b329b">ob_gyro_value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a491583ded6975af8cb3948a6ec372529">ob_gyro_frame_value</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a491583ded6975af8cb3948a6ec372529"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取陀螺仪帧数据。  <a href="#a491583ded6975af8cb3948a6ec372529">更多...</a><br /></td></tr>
<tr class="separator:a491583ded6975af8cb3948a6ec372529"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46144bd2d6c7d57b85f8b1f95d1be336"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a46144bd2d6c7d57b85f8b1f95d1be336">ob_gyro_frame_temperature</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a46144bd2d6c7d57b85f8b1f95d1be336"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取陀螺仪帧采样时温度  <a href="#a46144bd2d6c7d57b85f8b1f95d1be336">更多...</a><br /></td></tr>
<tr class="separator:a46144bd2d6c7d57b85f8b1f95d1be336"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af136546f3099cfde42407c2ab91b5f2a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#af136546f3099cfde42407c2ab91b5f2a">ob_frame_add_ref</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:af136546f3099cfde42407c2ab91b5f2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">增加帧对象的引用计数。  <a href="#af136546f3099cfde42407c2ab91b5f2a">更多...</a><br /></td></tr>
<tr class="separator:af136546f3099cfde42407c2ab91b5f2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a144bc4b6e9ba63d60eccba1c31b8c1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a5a144bc4b6e9ba63d60eccba1c31b8c1">ob_create_frame</a> (<a class="el" href="ObTypes_8h.html#a2dd00351b3c3e24fba7b2e9d1bb033a8">ob_format</a> frame_format, int width, int height, int stride_bytes, <a class="el" href="ObTypes_8h.html#ad2256fb566c96c9a50ab5120012a1ed1">ob_frame_type</a> frame_type, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a5a144bc4b6e9ba63d60eccba1c31b8c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">根据指定的参数创建一个空数据帧对象。  <a href="#a5a144bc4b6e9ba63d60eccba1c31b8c1">更多...</a><br /></td></tr>
<tr class="separator:a5a144bc4b6e9ba63d60eccba1c31b8c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e49f68c6b77a2e80615e229cd3ae473"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a5e49f68c6b77a2e80615e229cd3ae473">ob_create_frame_from_buffer</a> (<a class="el" href="ObTypes_8h.html#a2dd00351b3c3e24fba7b2e9d1bb033a8">ob_format</a> frame_format, uint32_t frame_width, uint32_t frame_height, uint8_t *buffer, uint32_t buffer_size, <a class="el" href="ObTypes_8h.html#a3ba48a3ae08f73fc4c6beac4464dde1d">ob_frame_destroy_callback</a> *buffer_destroy_cb, void *buffer_destroy_context, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a5e49f68c6b77a2e80615e229cd3ae473"><td class="mdescLeft">&#160;</td><td class="mdescRight">基于外部创建的缓冲区创建帧对象。  <a href="#a5e49f68c6b77a2e80615e229cd3ae473">更多...</a><br /></td></tr>
<tr class="separator:a5e49f68c6b77a2e80615e229cd3ae473"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91bc0d41b1bbe8885853e5b0346034d9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a91bc0d41b1bbe8885853e5b0346034d9">ob_create_frameset</a> (<a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a91bc0d41b1bbe8885853e5b0346034d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建一个空的数据帧集对象。  <a href="#a91bc0d41b1bbe8885853e5b0346034d9">更多...</a><br /></td></tr>
<tr class="separator:a91bc0d41b1bbe8885853e5b0346034d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a379ea3f58725a133c0d98efa99cfece2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a379ea3f58725a133c0d98efa99cfece2">ob_frameset_push_frame</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frameset, <a class="el" href="ObTypes_8h.html#ad2256fb566c96c9a50ab5120012a1ed1">ob_frame_type</a> type, <a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a379ea3f58725a133c0d98efa99cfece2"><td class="mdescLeft">&#160;</td><td class="mdescRight">将指定类型的数据帧添加到数据帧集。  <a href="#a379ea3f58725a133c0d98efa99cfece2">更多...</a><br /></td></tr>
<tr class="separator:a379ea3f58725a133c0d98efa99cfece2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35186cca3c0a561acb281b03c8ea6013"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a35186cca3c0a561acb281b03c8ea6013">ob_frame_set_system_time_stamp</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, uint64_t system_timestamp, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a35186cca3c0a561acb281b03c8ea6013"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置帧的系统时间戳  <a href="#a35186cca3c0a561acb281b03c8ea6013">更多...</a><br /></td></tr>
<tr class="separator:a35186cca3c0a561acb281b03c8ea6013"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f4b11364d2a74f80e9c6252b94e97bd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a9f4b11364d2a74f80e9c6252b94e97bd">ob_frame_set_device_time_stamp</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, uint64_t device_timestamp, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a9f4b11364d2a74f80e9c6252b94e97bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置帧的设备时间戳  <a href="#a9f4b11364d2a74f80e9c6252b94e97bd">更多...</a><br /></td></tr>
<tr class="separator:a9f4b11364d2a74f80e9c6252b94e97bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ce57b8b10a7dddf118ccd9663f7dd06"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="Frame_8h.html#a5ce57b8b10a7dddf118ccd9663f7dd06">ob_frame_set_device_time_stamp_us</a> (<a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *frame, uint64_t device_timestamp_us, <a class="el" href="structob__error.html">ob_error</a> **error)</td></tr>
<tr class="memdesc:a5ce57b8b10a7dddf118ccd9663f7dd06"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置帧的设备时间戳  <a href="#a5ce57b8b10a7dddf118ccd9663f7dd06">更多...</a><br /></td></tr>
<tr class="separator:a5ce57b8b10a7dddf118ccd9663f7dd06"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>帧相关函数, 主要用于获取帧数据和帧信息 </p>

<p>在文件 <a class="el" href="Frame_8h_source.html">Frame.h</a> 中定义.</p>
</div><h2 class="groupheader">函数说明</h2>
<a class="anchor" id="a5009d0e21fffddc2bb891357ccd611f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint64_t ob_frame_index </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取帧索引 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>帧对象 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>uint64_t 返回帧索引 </dd></dl>

</div>
</div>
<a class="anchor" id="ac46511e8d0e4d5b962d2b9710d313bdc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#a2dd00351b3c3e24fba7b2e9d1bb033a8">ob_format</a> ob_frame_format </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取帧格式 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>帧对象 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ob_format 返回帧格式 </dd></dl>

</div>
</div>
<a class="anchor" id="adfa38aa0cc594622f1d00540cf108b5a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#ad2256fb566c96c9a50ab5120012a1ed1">ob_frame_type</a> ob_frame_get_type </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取帧类型 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>帧对象 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ob_frame_type 返回帧类型 </dd></dl>

</div>
</div>
<a class="anchor" id="a95b2242495cad6f1d1d7db82cc516a2e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint64_t ob_frame_time_stamp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取帧的硬件时间戳（以毫秒为单位）。 </p>
<p>硬件时间戳是在设备上获取帧的时间点。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>帧对象 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>uint64_t 返回帧硬件时间戳（以毫秒为单位） </dd></dl>

</div>
</div>
<a class="anchor" id="aacf461e938d508f05b7b1ba8324cfcf5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint64_t ob_frame_time_stamp_us </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取帧的硬件时间戳（以微秒为单位）。 </p>
<p>硬件时间戳是在设备上获取帧的时间点。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>帧对象 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>uint64_t 返回帧硬件时间戳（以微秒为单位） </dd></dl>

</div>
</div>
<a class="anchor" id="adce8d3f7031629a3e3d7b25911b33886"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint64_t ob_frame_system_time_stamp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取帧的系统时间戳（以毫秒为单位）。 </p>
<p>系统时间戳是主机接收帧的时间点。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>帧对象 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>uint64_t 返回帧系统时间戳（以毫秒为单位） </dd></dl>

</div>
</div>
<a class="anchor" id="ada0d3dca9c8d020451e8a1bb11dacf57"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* ob_frame_data </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取帧数据 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>帧对象 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void* 返回帧数据指针 </dd></dl>

</div>
</div>
<a class="anchor" id="ab9350186e6d286d74466d07287871ce9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ob_frame_data_size </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取帧数据大小 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>帧对象 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>uint32_t 返回帧数据大小 如果是点云数据返回的是所有点集合占的字节数，若需要求出点的个数需要将 dataSize 除以对应的点类型的结构体大小 </dd></dl>

</div>
</div>
<a class="anchor" id="a0105450d37ecd43b0e27c90e396231eb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ob_video_frame_width </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取视频帧宽 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>帧对象 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>uint32_t 返回数据帧宽 </dd></dl>

</div>
</div>
<a class="anchor" id="a4c31d615158ad377dab30a5886788a11"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ob_video_frame_height </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取视频帧高 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>帧对象 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>uint32_t 返回数据帧高度 </dd></dl>

</div>
</div>
<a class="anchor" id="ad6c4784af761b12ad13367594af78b58"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* ob_video_frame_metadata </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取帧的元数据 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>帧对象 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void* 返回帧的元数据指针 </dd></dl>

</div>
</div>
<a class="anchor" id="ac9096648e25cfa045fb0ab6b3b3c93c0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ob_video_frame_metadata_size </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取帧的元数据大小 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>帧对象 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>uint32_t 返回帧的元数据大小 </dd></dl>

</div>
</div>
<a class="anchor" id="a4a7f7edea6d5963c2bbd2360edc3a489"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ob_video_frame_pixel_available_bit_size </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取像素有效位数（如 Y16 格式帧，每个像素占 16bit，但实际只有低 10 位是有效位，高 6 位填充 0） </p>
<dl class="section attention"><dt>注意</dt><dd>仅对 Y8/Y10/Y11/Y12/Y14/Y16 格式有效</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>帧对象 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误消息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>uint8_t 返回像素中的有效位数，如果是不支持的格式，则返回 0 </dd></dl>

</div>
</div>
<a class="anchor" id="ac69985299cbe7ca46cdddab955d26a33"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#a01cba50d4d558e4c2035f09b698bb10b">ob_sensor_type</a> ob_ir_frame_get_source_sensor_type </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>ob_error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取红外数据帧的源传感器类型（双摄像头为左或右） </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>帧对象 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname"><a class="el" href="structob__error.html" title="SDK 暴露的错误类，用户可以根据该错误类，获取详细的错误信息 ">ob_error</a></td><td>记录错误消息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ob_sensor_type 返回红外数据帧的源传感器类型 </dd></dl>

</div>
</div>
<a class="anchor" id="a84d908c9407ef8f96086c6d0911122e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float ob_depth_frame_get_value_scale </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取深度帧的值的深度单位，深度像素值乘以深度单位后，可以得到单位为毫米的深度值； 如 valueScale=0.1, 某坐标像素值为 pixelValue=10000， 则表示深度值 value = pixelValue*valueScale = 10000*0.1=1000mm。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>帧对象 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>float 深度单位 </dd></dl>

</div>
</div>
<a class="anchor" id="a42e33dafc2a310292a84bc4e59b624b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float ob_points_frame_get_position_value_scale </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取点云帧的点坐标值缩放系数，点坐标值乘以缩放系数后，可以得到单位为毫米的坐标值； 如 scale=0.1, 某个点的 x 坐标值为 x=10000， 则表示实际 x 坐标 value = x*scale = 10000*0.1=1000mm。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>帧对象 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>float 缩放系数 </dd></dl>

</div>
</div>
<a class="anchor" id="a572bd900dfe085bd8618e53b2670f069"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob_delete_frame </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>删除数据帧对象 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>要删除的帧对象 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a48ab6c2f559f3af05f4147a5f2abb324"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ob_frameset_frame_count </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frameset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取数据帧集中包含的帧数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frameset</td><td>数据帧集对象。 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>uint32_t 返回帧数 </dd></dl>

</div>
</div>
<a class="anchor" id="a5fd791167ae8728c8796746cddfb98f9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a>* ob_frameset_depth_frame </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frameset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从数据帧集中获取深度数据帧。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frameset</td><td>数据帧集对象。 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ob_frame* 返回深度帧。 </dd></dl>

</div>
</div>
<a class="anchor" id="aea3b7d87129161528aeecf9cb06c0321"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a>* ob_frameset_color_frame </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frameset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从帧集合中获取彩色帧 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frameset</td><td>数据帧集对象。 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ob_frame* 返回颜色帧。 </dd></dl>

</div>
</div>
<a class="anchor" id="a6e1afbac80830e8f9497e6fda23d5ca1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a>* ob_frameset_ir_frame </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frameset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从数据帧中获取红外帧。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frameset</td><td>数据帧集对象。 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ob_frame* 返回红外帧。 </dd></dl>

</div>
</div>
<a class="anchor" id="aaee352704126aa113327a3105f5ed3af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a>* ob_frameset_points_frame </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frameset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从数据帧集中获取点云数据。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frameset</td><td>数据帧集对象。 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ob_frame * 返回点云帧。 </dd></dl>

</div>
</div>
<a class="anchor" id="a30f3200115ea77315b7bb8ace3087207"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a>* ob_frameset_get_frame </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frameset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#ad2256fb566c96c9a50ab5120012a1ed1">ob_frame_type</a>&#160;</td>
          <td class="paramname"><em>frame_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从数据帧集中获取特定类型的数据帧。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frameset</td><td>数据帧集对象。 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">frame_type</td><td>数据帧类型。 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ob_frame* 返回指定类型的帧，如果不存在，则返回 nullptr。 </dd></dl>

</div>
</div>
<a class="anchor" id="abebc05a57d9906ff7b05e5e3edbe0537"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#a73b09a6818b6e37a12ce17732e2e01c0">ob_accel_value</a> ob_accel_frame_value </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取加速度计帧数据。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>加速度计数据帧。 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ob_accel_value 返回加速度计数据。 </dd></dl>

</div>
</div>
<a class="anchor" id="aaed95a72b4e138b7f25f1abc90f762c4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float ob_accel_frame_temperature </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取加速度帧采样时温度 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>加速度计数据帧。 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>float 返回温度值。 </dd></dl>

</div>
</div>
<a class="anchor" id="a491583ded6975af8cb3948a6ec372529"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#a3ad05ef746762121034a508f185b329b">ob_gyro_value</a> ob_gyro_frame_value </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取陀螺仪帧数据。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>陀螺仪数据帧。 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ob_gyro_value 返回陀螺仪数据。 </dd></dl>

</div>
</div>
<a class="anchor" id="a46144bd2d6c7d57b85f8b1f95d1be336"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float ob_gyro_frame_temperature </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取陀螺仪帧采样时温度 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>陀螺仪数据帧。 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>float 返回温度值。 </dd></dl>

</div>
</div>
<a class="anchor" id="af136546f3099cfde42407c2ab91b5f2a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob_frame_add_ref </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>增加帧对象的引用计数。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>要增加引用计数的帧对象。 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5a144bc4b6e9ba63d60eccba1c31b8c1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a>* ob_create_frame </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2dd00351b3c3e24fba7b2e9d1bb033a8">ob_format</a>&#160;</td>
          <td class="paramname"><em>frame_format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>stride_bytes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#ad2256fb566c96c9a50ab5120012a1ed1">ob_frame_type</a>&#160;</td>
          <td class="paramname"><em>frame_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>根据指定的参数创建一个空数据帧对象。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame_format</td><td>帧对象格式。 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">width</td><td>数据帧对象宽度。 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">height</td><td>数据帧对象高度。 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">stride_bytes</td><td>缓冲区行跨度。 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">frame_type</td><td>数据帧对象类型。 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ob_frame* 返回一个空数据帧对象。 </dd></dl>

</div>
</div>
<a class="anchor" id="a5e49f68c6b77a2e80615e229cd3ae473"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a>* ob_create_frame_from_buffer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2dd00351b3c3e24fba7b2e9d1bb033a8">ob_format</a>&#160;</td>
          <td class="paramname"><em>frame_format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>frame_width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>frame_height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>buffer_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a3ba48a3ae08f73fc4c6beac4464dde1d">ob_frame_destroy_callback</a> *&#160;</td>
          <td class="paramname"><em>buffer_destroy_cb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>buffer_destroy_context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>基于外部创建的缓冲区创建帧对象。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame_format</td><td>帧对象格式。 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">frame_width</td><td>数据帧对象宽度。 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">frame_height</td><td>数据帧对象高度。 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">buffer</td><td>帧对象缓冲区。 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">buffer_size</td><td>帧对象缓冲区大小。 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">buffer_destroy_cb</td><td>销毁回调。 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">buffer_destroy_context</td><td>销毁上下文。 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ob_frame* 返回数据帧对象。 </dd></dl>

</div>
</div>
<a class="anchor" id="a91bc0d41b1bbe8885853e5b0346034d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a>* ob_create_frameset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>创建一个空的数据帧集对象。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ob_frame* 返回数据帧集对象。 </dd></dl>

</div>
</div>
<a class="anchor" id="a379ea3f58725a133c0d98efa99cfece2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob_frameset_push_frame </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frameset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#ad2256fb566c96c9a50ab5120012a1ed1">ob_frame_type</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将指定类型的数据帧添加到数据帧集。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frameset</td><td>数据帧集对象。 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">type</td><td>要添加的帧类型。 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>要添加的帧对象。 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a35186cca3c0a561acb281b03c8ea6013"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob_frame_set_system_time_stamp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>system_timestamp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置帧的系统时间戳 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>设置的帧对象 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">system_timestamp</td><td>设置的系统时间戳，单位毫秒。 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9f4b11364d2a74f80e9c6252b94e97bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob_frame_set_device_time_stamp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>device_timestamp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置帧的设备时间戳 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>设置的帧对象 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">device_timestamp</td><td>设备时间戳，单位毫秒。 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5ce57b8b10a7dddf118ccd9663f7dd06"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob_frame_set_device_time_stamp_us </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a2d32dd7fcbb88ebb408e9f9081e6f896">ob_frame</a> *&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>device_timestamp_us</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structob__error.html">ob_error</a> **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置帧的设备时间戳 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>设置的帧对象 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">device_timestamp_us</td><td>设备时间戳，单位微秒。 </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">error</td><td>记录错误信息。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2023年 十一月 24日 星期五 10:56:17 , 为 OrbbecSDK使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
